<?php
/**
 *
 * PHP 5
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       app.View.Layouts
 * @since         CakePHP(tm) v 0.10.0.1076
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<?php echo $this->Html->charset(); ?>
	<title>
		<?php echo __('StudentTotaal.nl'); ?>
		<?php echo $title_for_layout; ?>
	</title>
	<?php
		echo $this->Html->meta('icon');

		echo $this->Html->css(array('main', 'http://fonts.googleapis.com/css?family=Cuprum'));
        echo $this->Html->script(array('jquery-1.4.4.js', 'spinner/jquery.mousewheel.js', 'spinner/ui.spinner.js', 'jquery-ui.min.js'));
		echo $this->Html->script(array('fileManager/elfinder.min.js'));
		echo $this->Html->script(array('wysiwyg/jquery.wysiwyg.js', 'wysiwyg/wysiwyg.image.js', 'wysiwyg/wysiwyg.link.js', 'wysiwyg/wysiwyg.link.js', 'wysiwyg/wysiwyg.table.js'));
		echo $this->Html->script(array('flot/jquery.flot.js', 'flot/jquery.flot.pie.js', 'flot/excanvas.min.js', 'flot/jquery.flot.resize.js'));
		echo $this->Html->script(array('dataTables/jquery.dataTables.js', 'dataTables/colResizable.min.js'));
		echo $this->Html->script(array('forms/forms.js', 'forms/autogrowtextarea.js', 'forms/autotab.js', 'forms/jquery.validate.min.js', 'forms/jquery.dualListBox.js', 'forms/jquery.filestyle.js'));
		echo $this->Html->script(array('colorPicker/colorpicker.js'));
		echo $this->Html->script(array('uploader/plupload.js', 'uploader/plupload.html5.js', 'uploader/plupload.html4.js', 'uploader/jquery.plupload.queue.js'));
		echo $this->Html->script(array('ui/progress.js', 'ui/jquery.jgrowl.js', 'ui/jquery.tipsy.js', 'ui/jquery.alerts.js'));
		echo $this->Html->script(array('jBreadCrumb.1.1.js', 'cal.min.js', 'jquery.smartWizard.min.js', 'jquery.collapsible.min.js', 'jquery.ToTop.js', 'jquery.listnav.js', 'jquery.sourcerer.js', 'jquery.timeentry.min.js', 'jquery.prettyPhoto.js'));
		echo $this->Html->script(array('custom.js'));
		echo $scripts_for_layout;
	?>
</head>
<body>

<div id="topNav">
    <div class="fixed">
        <div class="wrapper">
            <div class="backTo"><?php echo $this->Html->link( 
				$this->Html->image("/images/icons/topnav/mainWebsite.png", array('alt'=> __('StudentTotaal.nl'))) . '<span>Main website</span>', 
				'http://studenttotaal.nl', 
				array('escape' => false)
			); ?></div>
            <div class="userNav">
                <ul>
					<li><?php echo $this->Html->link( 
						$this->Html->image("/images/icons/topnav/register.png") . '<span>Register</span>', 
						array('controller' => 'users', 'action' => 'register'), 
						array('escape' => false)
					); ?></li>
					<li><?php echo $this->Html->link( 
						$this->Html->image("/images/icons/topnav/contactAdmin.png") . '<span>Contact admin</span>', 
						array('controller' => 'pages', 'action' => 'contact'), 
						array('escape' => false)
					); ?></li>				
					<li><?php echo $this->Html->link( 
						$this->Html->image("/images/icons/topnav/help.png") . '<span>Help</span>', 
						array('controller' => 'pages', 'action' => 'help'), 
						array('escape' => false)
					); ?></li>				
                </ul>
            </div>
            <div class="fix"></div>
        </div>
    </div>
</div>

	<?php echo $this->Session->flash(); ?>
	<?php echo $content_for_layout; ?>

<div id="footer">
	<div class="wrapper">
    	<span>&copy; Copyright StudentTotaal.nl 2012. All rights reserved.</span>
    </div>
</div>

</body>
</html>
